package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.CheckGroup;
import com.itheima.pojo.CheckItem;
import com.itheima.pojo.Member;
import com.itheima.pojo.Setmeal;

import java.util.List;

public interface MemberService {
    PageResult findPage(QueryPageBean queryPageBean);

    Result getUsers();

    Result add(Member member);

    Result findById(Integer id);

    Result edit(Member member);

    Result delete(Integer id);

    public Member getMemberById(Integer id);

    public List<Setmeal> findByMemberId(Integer memberId);

    List<CheckGroup> findByCheckGroup(Integer setmaelId);

    List<CheckItem> findByCheckItem(Integer checkGroupId);

    List<Member> findAll();
}
